package com.ljt.realtimebusSS.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 线路与站点的多对多关联关系
 * @TableName route_stop
 */
@TableName(value ="route_stop")
@Data
public class RouteStop implements Serializable {
    /**
     *
     */
    @TableId
    private Integer routeStopId;

    /**
     * 逻辑关联bus_route.route_id
     */
    private Integer routeId;

    /**
     * 逻辑关联bus_stop.stop_id
     */
    private Integer stopId;

    /**
     * 站点在线路中的顺序（从1开始）
     */
    private Integer stopOrder;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}